package com.jswlw.controller.api.resp;

import com.jswlw.common.BaseApiResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * @author 吴维斌 E-mail:wuweibin0817@163.com
 * @version 创建时间：${date} ${time}
 */
@ApiModel(description = "API-用户设备列表列表响应对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class UserDevInfoListResponse extends BaseApiResponse {

    List<UserDevInfoListResponseData> data;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @EqualsAndHashCode(callSuper = false)
    public static class UserDevInfoListResponseData {
        @ApiModelProperty(value = "设备ID", required = true, example = "123")
        String id;
        @ApiModelProperty(value = "设备别名", required = true, example = "123")
        String name;
        @ApiModelProperty(value = "计费模式", required = true, example = "123")
        Integer billType;
    }
}
